<template>
	<ynet-button-tab :items="items"></ynet-button-tab>
</template>
<script>
	import { ButtonTab } from 'ynet-mobile'
	export default {
		title: '更换默认选中',
		name: 'button-tab-demo',
		components: {
			[ButtonTab.name]: ButtonTab
		},
		data(){
			return {
				items: [
					{ text: 'tab1' },
					{ text: 'tab2' },
					{ text: 'tab3', active: true },
					{ text: 'tab4' }
				]
			}
		}
	}
</script>